// pages/knowledge_detail/knowledge_detail.js
const nav_img_black = 'https://witty6.oss-cn-beijing.aliyuncs.com/demo/64241692603437_.pic.jpg'
Page({

  /**
   * 页面的初始数据
   */
  data: {
    nav_show:true,
    nav_title:'秉华健康-健康数据管家',
    fontColor:'#333333',
    nav_img:nav_img_black,
    kind:'',
    list_detail_data:[
      {id:'0',type_name:'产品教学',title:'产品教学标题1',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'产品教学',isfrom:'产品教学来源1'},
      {id:'1',type_name:'舌象',title:'舌象标题',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'舌象',isfrom:'舌象来源1'},
      {id:'2',type_name:'真艾养生',title:'真艾养生标题1”',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'真艾养生',isfrom:'真艾养生来源1'},
      {id:'3',type_name:'每日一膳',title:'每日一膳标题1”',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'每日一膳',isfrom:'每日一膳来源1'},
      {id:'4',type_name:'找美食',title:'找美食标题1”',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'找美食',isfrom:'找美食来源1'},
      {id:'5',type_name:'产品教学',title:'产品教学标题2”',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'产品教学2',isfrom:'产品教学来源2'},
      {id:'6',type_name:'舌象',title:'舌象标题2”',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'舌象2',isfrom:'舌象来源2'},
      {id:'7',type_name:'真艾养生',title:'真艾养生标题2”',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'真艾养生2',isfrom:'真艾养生来源2'},
      {id:'8',type_name:'每日一膳',title:'每日一膳标题2”',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'每日一膳2',isfrom:'每日一膳来源2'},
      {id:'9',type_name:'找美食',title:'找美食标题2”',imgurl:'../../static/essence_knowledge/notice_icon.png',content:'找美食2',isfrom:'找美食来源2'},
    ]
  },
  onLoad: function (options) {
    console.log(options.kind)
    this.setData({
      kind:options.kind
    })
  },
  

  /**
   * 生命周期函数--监听页面加载
   */
  // onLoad(options) {

  // },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})